﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 8/25/2009
 * Time: 9:54 AM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace Miming.Model
{
	/// <summary>
	/// Description of Customer.
	/// </summary>
	public class Customer
	{
		int id;
		PriceLevel priceLevel;
		string billToAddress;
		string resaleNumber;
		Terms terms;
		SalesTaxCode taxCode;
		bool inactive;
		string accountNo;
		JobType jobType;
		
		public virtual JobType JobType {
			get { return jobType; }
			set { jobType = value; }
		}
		
		public virtual string AccountNo {
			get { return accountNo; }
			set { accountNo = value; }
		}
		double creditLimit;
		
		public virtual double CreditLimit {
			get { return creditLimit; }
			set { creditLimit = value; }
		}
		PaymentMethod preferredPaymentMethod;
		
		public virtual PaymentMethod PreferredPaymentMethod {
			get { return preferredPaymentMethod; }
			set { preferredPaymentMethod = value; }
		}
		CreditCardInfo creditCardInfo;
		
		public virtual CreditCardInfo CreditCardInfo {
			get { return creditCardInfo; }
			set { creditCardInfo = value; }
		}
		JobInfo jobInfo;
		
		public virtual JobInfo JobInfo {
			get { return jobInfo; }
			set { jobInfo = value; }
		}
		
		public virtual bool Inactive {
			get { return inactive; }
			set { inactive = value; }
		}
		
		public virtual SalesTaxCode TaxCode {
			get { return taxCode; }
			set { taxCode = value; }
		}
		Item taxItem;
		
		public virtual Item TaxItem {
			get { return taxItem; }
			set { taxItem = value; }
		}
		
		public virtual Terms Terms {
			get { return terms; }
			set { terms = value; }
		}
		int sendMethod;
		
		public virtual int SendMethod {
			get { return sendMethod; }
			set { sendMethod = value; }
		}
		
		public virtual string ResaleNumber {
			get { return resaleNumber; }
			set { resaleNumber = value; }
		}
		CustomerType customerType;
		
		public virtual CustomerType CustomerType {
			get { return customerType; }
			set { customerType = value; }
		}
		
		public virtual string BillToAddress {
			get { return billToAddress; }
			set { billToAddress = value; }
		}
		string contact;
		
		public virtual string Contact {
			get { return contact; }
			set { contact = value; }
		}
		string phone;
		
		public virtual string Phone {
			get { return phone; }
			set { phone = value; }
		}
		string fax;
		
		public virtual string Fax {
			get { return fax; }
			set { fax = value; }
		}
		string altPhone;
		
		public virtual string AltPhone {
			get { return altPhone; }
			set { altPhone = value; }
		}
		string altContact;
		
		public virtual string AltContact {
			get { return altContact; }
			set { altContact = value; }
		}
		string email;
		
		public virtual string Email {
			get { return email; }
			set { email = value; }
		}
		string cC;
		
		public virtual string CC {
			get { return cC; }
			set { cC = value; }
		}
		
		public virtual PriceLevel PriceLevel {
			get { return priceLevel; }
			set { priceLevel = value; }
		}
		
		public virtual int Id {
			get { return id; }
			set { id = value; }
		}
		string name;
		
		public virtual string Name {
			get { return name; }
			set { name = value; }
		}
		string companyName;
		
		public virtual string CompanyName {
			get { return companyName; }
			set { companyName = value; }
		}
		double openingBalance;
		
		public virtual double OpeningBalance {
			get { return openingBalance; }
			set { openingBalance = value; }
		}
		DateTime balanceAsOf = DateTime.Now;
		
		public virtual DateTime BalanceAsOf {
			get { return balanceAsOf; }
			set { balanceAsOf = value; }
		}
		Name legalName = new Name();
		
		public virtual Name LegalName {
			get { return legalName; }
			set { legalName = value; }
		}
		
		public Customer()
		{
		}
	}
}
